Mailing Service
Dieser Service enthält Methode um Mails innerhalb von TimePunch zu versenden.
SendMail
Diese Methode versendet eine Mail innerhalb von TimePunch. Der Sender der Email ist immer der autorisierte Mitarbeiter.
void SendMail(
out TpFault fault,
TpAuthentication authentication,
string subject,
string body,
IEnumerable<UserMailAddressDto> userMailAddresses,
IEnumerable<PlainMailAddressDto> plainMailAddresses);
Needed Permission | mails@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
subject | Mail subject | |
body | Mail body | |
userMailAddresses | List containing all TimePunch users that are Receiver or Copy Receiver of the mail. | |
plainMailAddresses | List containing all non – TimePunch users that are Receiver or Copy Receiver of the mail. |
SendMailWithAttachements
Diese Methode versendet eine Mail innerhalb von TimePunch mit entsprechenden Attachments. Der Sender der Email ist immer der autorisierte Mitarbeiter.
void SendMailWithAttachements(
out TpFault fault,
TpAuthentication authentication,
string subject,
string body,
IEnumerable<UserMailAddressDto> userMailAddresses,
IEnumerable<PlainMailAddressDto> plainMailAddresses,
IEnumerable<MailAttachementDto> mailAttachements);
Needed Permission | mails@access | |
---|---|---|
Name | Modifier | Description |
fault | Out | Contains the error if an exception occurs. |
authentication | User authentication | |
subject | Mail subject | |
body | Mail body | |
userMailAddresses | List containing all TimePunch users that are Receiver or Copy Receiver of the mail. | |
plainMailAddresses | List containing all non – TimePunch users that are Receiver or Copy Receiver of the mail. | |
mailAttachements | List containing all attachements for the mail. |